﻿// -----------------------------------------------------------------------
// <copyright file="IRESTAPI.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace TwiMixer.RESTAPI
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Twitterizer;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IRESTAPI
    {
        //string GetApiProviderName();
        //string GetApiProviderId();
        //APIProviderEnum GetApiProvider();
        // 返回rest数据 暂定string
        string GetStatusesHomeTimeline(
            int count,
            int since_id,
            int max_id,
            int page,
            bool trim_user,
            bool include_rts,
            bool include_entities,
            bool exclude_replies,
            bool contributor_details);

        string GetStatusesHomeTimeline();

        string GetOAuthAuthorizationUrl();

        string GetRESTUsersShow(OAuthTokens token, string uid);

        OAuthTokenResponse GetOAuthToken(string requestToken, string verifier, string requesetTokenSecret);

        string OAuthRequestToken(string oauth_callback);

        string OAuthAuthorize(string oauth_token);

        string OAuthAccessToken(string oauth_token, string oauth_token_secret, string verifier);


        ///REST API
        string Statuses_HomeTimeline(); 
    }
}
